<%@page language="java"%>
<%@page contentType="text/html"%>
<%@page import="java.util.*, descriptor.*"%>




<jsp:include page="admin_generic_pre.jsp" >
	<jsp:param name="pagesubtitle" value="More about a company" />
</jsp:include>


	<p>
		<jsp:useBean id="infos" class="java.lang.String" scope="request" />
		<%= infos %>
	</p>
	<p>
		<jsp:useBean id="company" class="descriptor.CompanyDescriptor" scope="request" />
		<jsp:useBean id="companysups" class="descriptor.CompanySupsListDescriptor" scope="request" />
		<jsp:useBean id="recruiters" class="descriptor.RecruitersListDescriptor" scope="request" />
		<p>Company: <a href="admin?action=companies_createupdate&companyId=<%= company.getId() %>"><%= company.getName() %></a></p>
		<p>
			Company Supervisors:
			<% if (companysups.getCompanySupDescriptors().size() == 0){%>
			There is no supervisors in this company.
			<% }else{%>
			<ul>
			<% for (CompanySupDescriptor csd : companysups.getCompanySupDescriptors()) {%>
				<li><a href="admin?action=companysups_more&id=<%= csd.getUserId() %>" ><%= csd.getFirstName()%> <%= csd.getName()%></a></li>
			<% }%>
			</ul>
			<% }%>
		</p>
		<p>
			Recruiters:
			<% if (recruiters.getRecruiterDescriptors().size() == 0){%>
			There is no recruiter in this company.
			<% }else{%>
			<ul>
			<% for (RecruiterDescriptor rd : recruiters.getRecruiterDescriptors()) {%>
				<li><a href="admin?action=recruiters_more&id=<%= rd.getUserId() %>" ><%= rd.getFirstName()%> <%= rd.getName()%></a></li>
			<% }%>
			</ul>
			<% }%>
		</p>
	</p>
	
<jsp:include page="admin_generic_post.jsp" ></jsp:include>		